#!/usr/bin/python3

def countVowels(line):
    aNum = 0
    eNum = 0
    iNum = 0
    oNum = 0
    uNum = 0
    line = str.lower(line)
    for ch in line:
        if(ch == 'a'):
            aNum += 1
        elif(ch=='e'):
            eNum += 1
        elif(ch=='i'):
            iNum += 1
        elif(ch=='u'):
            uNum += 1
        elif(ch=='o'):
            oNum =+ 1
    print("a:{0},e:{1},i:{2},o:{3},u:{4}".format(aNum, eNum, iNum, oNum, uNum))

line = input('Please enter a line, # to end:\n')
while line != '#':
    countVowels(line)
    line = input('Please enter a line, # to end:\n')